package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.contract.InviteDetailsContract
import com.jacobson.huobi.mvp.model.InviteUserListModel
import com.jacobson.huobi.mvp.presenter.InviteUserListPresenter
import dagger.Module
import dagger.Provides
@Module
class InviteUserListModule (
    private val view: InviteDetailsContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: InviteUserListPresenter): InviteDetailsContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: InviteUserListModel): InviteDetailsContract.Model = model

}